home *** CD-ROM | disk | FTP | other *** search
-
- - Made a simHector directory and copied the contents for the simTemplate
- directory into it.
-
- - Changed the THEPRG variable in the simHector/Imakefile to be simHector
-
- - Renamed simHector/cpu/newcpu.hxx to hector.hxx
-
- - Changed the following in hector.hxx:
-
- * NEWCPU_HXX to HECTOR_HXX
- * Class name from newcpu to hector (class hector : public BasicCPU)
- * Changed constructor and destuctor name from newcpu to hector
- * Added a RegisterData structure at the top of the file to keep
- the name of the register, a mask, and a description:
-
- // Register information structure
- struct RegisterData {
- const char* name;
- const unsigned long mask;
- const char* description;
- };
- * Added static RegisterData register_data[];
- unsigned long *register_value;
-
- * Added Constant Register array indices and Status Register Masks.
-
- - Made the hector.cxx file
- * Defined the register_data array
- * wrote constructor
- * wrote destructor
- * wrote Reset routine
- * wrote SetRegister routine
- * wrote BuildRegisterInformationList routine
- * added stubs for other methods
-
- - Modified main.cxx to include Hector.hxx instead of newcpu.hxx also
- made it instanticate a Hector object.
-
- - Modified simHector/Imakefile/cpu to build Hector.o
-
- - did xmkmf in all of the dirs
-
- - made simHector and test the UI to make sure Registers were displayed
- and their values could be changed.
-
- - Decided that the best way to design the Hector simulator was to have
- the following object layout
-
- --RegisterSet
- ----DataPath-
- --- | -- ALU
- Hector- |
- --- |
- ----ControlUnit
-
-
- - Built the New objects: RegisterSet, ALU, DataPath, ControlUnit
-
-
-
-